package o2o.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: guo_wei
 * @Date: 2021-06-17
 * @Description: 配置文件上的配置信息
 */
@Configuration
public class PropConfigure {

    /**
     * 达达配送
     */
    public static boolean online;


    @Value("${dada.config.online}")
    public void setDatasourceDruidUrl(boolean online) {
        PropConfigure.online = online;
    }

}
